package com.lantosec.hmrp.modules.system.vo;

import com.lantosec.hmrp.core.mvc.BaseVO;
import com.lantosec.hmrp.modules.system.entity.SysMenu;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * <p>
 * 系统菜单表 VO对象
 * </p>
 *
 * @author AutoCode
 * @since 2020-02-12
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value="SysMenu对象", description="系统菜单表")
public class SysMenusVO {

    @ApiModelProperty(value = "菜单ID")
    private String menuId;

    @ApiModelProperty(value = "菜单名称")
    private String name;

    @ApiModelProperty(value = "菜单图标")
    private String ico;

    @ApiModelProperty(value = "菜单路径")
    private String path;

    @ApiModelProperty(value = "上级菜单ID")
    private String parentId;

    @ApiModelProperty(value = "状态(0正常1废止)")
    private Integer state;

    @ApiModelProperty(value = "排序")
    private Integer menuOrder;

    @ApiModelProperty(value = "扩展字段")
    private String meta;

    @ApiModelProperty(value = "是否删除")
    private Boolean flag;

    private List<SysMenusVO> children;
}
